package com.schoolcloud.share.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.schoolcloud.common.model.PageDTO;
import com.schoolcloud.share.entity.VideoTags;
import com.schoolcloud.share.query.TagsQuery;
import com.schoolcloud.share.service.VideoTagsService;
import com.schoolcloud.share.mapper.VideoTagsMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author hongmizfb
* @description 针对表【video_tags(视频标签多对多关联)】的数据库操作Service实现
* @createDate 2025-05-16 18:35:15
*/
@Service
public class VideoTagsServiceImpl extends ServiceImpl<VideoTagsMapper, VideoTags>
    implements VideoTagsService{

    @Override
    public List<VideoTags> getListByVideoId(Integer videoId) {
        return lambdaQuery().eq(VideoTags::getVideoId, videoId).list();
    }
}




